{% extends "base.html" %}
{% block title %}Artist index{% endblock %}
{% block css %}artists.css{% endblock %}
{% block content %}
	<div class="artist_caption">{{ config.artist_index_caption }}</div>
	{% for artist in artist_list %}
		<div class="artist">
			<div class="portrait">
				<a href="{% url artist-detail artist.slug %}">
					{% if artist.portrait_source_image %}
						<img src="{{ MEDIA_URL }}{{ artist.thumbnail_image }}" alt="{{ artist.name }}" />
					{% else %}
						<img src="{{ MEDIA_URL }}img/thumbnail_overlay.png" alt="{{ artist.name }}" />
					{% endif %}
				</a>
			</div>
			<div class="name">
				<a href="{% url artist-detail artist.slug %}">{{ artist.name }}</a><br />
				<span>{{ artist.profession }}</span>
			</div>
			<div style="clear: both;"></div>
		</div>
	{% endfor %}
{% endblock %}
